﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020009BB RID: 2491
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class JNJKMBIGMPE : IMessage<JNJKMBIGMPE>, IMessage, IEquatable<JNJKMBIGMPE>, IDeepCloneable<JNJKMBIGMPE>, IBufferMessage
	{
		// Token: 0x17001F88 RID: 8072
		// (get) Token: 0x06006FBE RID: 28606 RVA: 0x0012B40B File Offset: 0x0012960B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<JNJKMBIGMPE> Parser
		{
			get
			{
				return JNJKMBIGMPE._parser;
			}
		}

		// Token: 0x17001F89 RID: 8073
		// (get) Token: 0x06006FBF RID: 28607 RVA: 0x0012B412 File Offset: 0x00129612
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return JNJKMBIGMPEReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001F8A RID: 8074
		// (get) Token: 0x06006FC0 RID: 28608 RVA: 0x0012B424 File Offset: 0x00129624
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return JNJKMBIGMPE.Descriptor;
			}
		}

		// Token: 0x06006FC1 RID: 28609 RVA: 0x0012B42B File Offset: 0x0012962B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JNJKMBIGMPE()
		{
		}

		// Token: 0x06006FC2 RID: 28610 RVA: 0x0012B44C File Offset: 0x0012964C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JNJKMBIGMPE(JNJKMBIGMPE other) : this()
		{
			this.pNIDOBOEIEP_ = other.pNIDOBOEIEP_.Clone();
			this.kIPKPPEDOJP_ = other.kIPKPPEDOJP_;
			this.passengerList_ = other.passengerList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006FC3 RID: 28611 RVA: 0x0012B49E File Offset: 0x0012969E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JNJKMBIGMPE Clone()
		{
			return new JNJKMBIGMPE(this);
		}

		// Token: 0x17001F8B RID: 8075
		// (get) Token: 0x06006FC4 RID: 28612 RVA: 0x0012B4A6 File Offset: 0x001296A6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<MEAEGFBOGAK> PNIDOBOEIEP
		{
			get
			{
				return this.pNIDOBOEIEP_;
			}
		}

		// Token: 0x17001F8C RID: 8076
		// (get) Token: 0x06006FC5 RID: 28613 RVA: 0x0012B4AE File Offset: 0x001296AE
		// (set) Token: 0x06006FC6 RID: 28614 RVA: 0x0012B4B6 File Offset: 0x001296B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KIPKPPEDOJP
		{
			get
			{
				return this.kIPKPPEDOJP_;
			}
			set
			{
				this.kIPKPPEDOJP_ = value;
			}
		}

		// Token: 0x17001F8D RID: 8077
		// (get) Token: 0x06006FC7 RID: 28615 RVA: 0x0012B4BF File Offset: 0x001296BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<TrainPartyGamePassenger> PassengerList
		{
			get
			{
				return this.passengerList_;
			}
		}

		// Token: 0x06006FC8 RID: 28616 RVA: 0x0012B4C7 File Offset: 0x001296C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as JNJKMBIGMPE);
		}

		// Token: 0x06006FC9 RID: 28617 RVA: 0x0012B4D8 File Offset: 0x001296D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(JNJKMBIGMPE other)
		{
			return other != null && (other == this || (this.pNIDOBOEIEP_.Equals(other.pNIDOBOEIEP_) && this.KIPKPPEDOJP == other.KIPKPPEDOJP && this.passengerList_.Equals(other.passengerList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006FCA RID: 28618 RVA: 0x0012B53C File Offset: 0x0012973C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.pNIDOBOEIEP_.GetHashCode();
			if (this.KIPKPPEDOJP != 0U)
			{
				num ^= this.KIPKPPEDOJP.GetHashCode();
			}
			num ^= this.passengerList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006FCB RID: 28619 RVA: 0x0012B597 File Offset: 0x00129797
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006FCC RID: 28620 RVA: 0x0012B59F File Offset: 0x0012979F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006FCD RID: 28621 RVA: 0x0012B5A8 File Offset: 0x001297A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.passengerList_.WriteTo(ref output, JNJKMBIGMPE._repeated_passengerList_codec);
			this.pNIDOBOEIEP_.WriteTo(ref output, JNJKMBIGMPE._repeated_pNIDOBOEIEP_codec);
			if (this.KIPKPPEDOJP != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.KIPKPPEDOJP);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006FCE RID: 28622 RVA: 0x0012B608 File Offset: 0x00129808
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.pNIDOBOEIEP_.CalculateSize(JNJKMBIGMPE._repeated_pNIDOBOEIEP_codec);
			if (this.KIPKPPEDOJP != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KIPKPPEDOJP);
			}
			num += this.passengerList_.CalculateSize(JNJKMBIGMPE._repeated_passengerList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006FCF RID: 28623 RVA: 0x0012B66C File Offset: 0x0012986C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(JNJKMBIGMPE other)
		{
			if (other == null)
			{
				return;
			}
			this.pNIDOBOEIEP_.Add(other.pNIDOBOEIEP_);
			if (other.KIPKPPEDOJP != 0U)
			{
				this.KIPKPPEDOJP = other.KIPKPPEDOJP;
			}
			this.passengerList_.Add(other.passengerList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006FD0 RID: 28624 RVA: 0x0012B6CA File Offset: 0x001298CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006FD1 RID: 28625 RVA: 0x0012B6D4 File Offset: 0x001298D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 66U)
				{
					if (num != 82U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.KIPKPPEDOJP = input.ReadUInt32();
						}
					}
					else
					{
						this.pNIDOBOEIEP_.AddEntriesFrom(ref input, JNJKMBIGMPE._repeated_pNIDOBOEIEP_codec);
					}
				}
				else
				{
					this.passengerList_.AddEntriesFrom(ref input, JNJKMBIGMPE._repeated_passengerList_codec);
				}
			}
		}

		// Token: 0x04002A9C RID: 10908
		private static readonly MessageParser<JNJKMBIGMPE> _parser = new MessageParser<JNJKMBIGMPE>(() => new JNJKMBIGMPE());

		// Token: 0x04002A9D RID: 10909
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002A9E RID: 10910
		public const int PNIDOBOEIEPFieldNumber = 10;

		// Token: 0x04002A9F RID: 10911
		private static readonly FieldCodec<MEAEGFBOGAK> _repeated_pNIDOBOEIEP_codec = FieldCodec.ForMessage<MEAEGFBOGAK>(82U, MEAEGFBOGAK.Parser);

		// Token: 0x04002AA0 RID: 10912
		private readonly RepeatedField<MEAEGFBOGAK> pNIDOBOEIEP_ = new RepeatedField<MEAEGFBOGAK>();

		// Token: 0x04002AA1 RID: 10913
		public const int KIPKPPEDOJPFieldNumber = 15;

		// Token: 0x04002AA2 RID: 10914
		private uint kIPKPPEDOJP_;

		// Token: 0x04002AA3 RID: 10915
		public const int PassengerListFieldNumber = 8;

		// Token: 0x04002AA4 RID: 10916
		private static readonly FieldCodec<TrainPartyGamePassenger> _repeated_passengerList_codec = FieldCodec.ForMessage<TrainPartyGamePassenger>(66U, TrainPartyGamePassenger.Parser);

		// Token: 0x04002AA5 RID: 10917
		private readonly RepeatedField<TrainPartyGamePassenger> passengerList_ = new RepeatedField<TrainPartyGamePassenger>();
	}
}
